package com.company.creational.builder_patter.builder;

/**
 * 英雄角色建造者
 * @ClassName HeroBulider
 * @Author tiezheng.han
 * @Date 2020/8/27 11:26
 **/
public class HeroBulider extends ActorBuilder {
    @Override
    public void buildType() {
        actor.setType("英雄");
    }

    @Override
    public void bulidSex() {
        actor.setSex("男");
    }

    @Override
    public void bulidFace() {
        actor.setFace("英俊");
    }

    @Override
    public void bulidCostume() {
        actor.setCostume("盔甲");
    }

    @Override
    public void bulidHairstyle() {
        actor.setHairstyle("飘逸");
    }
}
